package dao;

import entity.Book;

import java.util.List;

public interface BookDao {
    public void add(Book book);

    public void updateBook(Book book);

    public void deleteBook(String id);

    public int selectCount();

    public Book queryBookById(String id);

    public List<Book> queryAllBooks();

    void batchAddBook(List<Object[]> batchArgs);

    void batchUpdateBook(List<Object[]> batchArgs);

    void batchDeleteBook(List<Object[]> batchArgs);
}
